package com.dg.service;

import com.dg.common.PageQuery;
import com.dg.common.PageResult;
import com.dg.dto.AclDto;
import com.dg.param.AclParam;
import com.dg.pojo.Acl;

import java.util.List;

public interface AclService {

    PageResult<AclDto> list(Integer moduleId, PageQuery pageQuery);

    void save(AclParam param);

    void update(AclParam param);

    void delete(Integer id);

    void saveOrUpdate(AclParam param);
}
